package com.zmj.service.impl;

import com.zmj.dao.LoginDao;
import com.zmj.dao.impl.LoginDaoImpl;
import com.zmj.entity.User;
import com.zmj.service.LoginService;

public class LoginServiceImpl implements LoginService {
    LoginDao loginDao=new LoginDaoImpl();
    public User login(String userName, String password) {
      return loginDao.login(userName,password);
    }
}
